<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>


<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Issue Tracker</title>
<%@include file="header.jsp"%>

<script>
	var user = "";
	var corpusername="";
	function AddPageInit(username,corpuser) {
		user = username;
		corpusername = corpuser;
		// alert("User:"+corpusername);

	}
	$(document).ready(function() {

		$("#btncancel").click(function() {
			//window.location("home.jsp");
			window.location.assign("home.jsp");
		});

	});
</script>
</head>


<body onload="AddPageInit('<%=session.getAttribute("user")%>', '<%=session.getAttribute("corpusername")%>')">

	<%@include file="toppanel.jsp"%>

	<input type="hidden" id="username" name="username"
		value="<%=(String) session.getAttribute("user")%>">
		
		<input type="hidden" id="corpuser" name="corpuser"
		value="<%=(String) session.getAttribute("corpusername")%>">
		
	

	<div style="width: 85%; padding-left: 8%">
		<div>
			<br /> Title: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
				type="text" id="issuetitle" class="span8" name="issuetitle" value=""
				size="150"
				style="padding-left: 3px; padding-top: 3px; padding-bottom: 3px" />

			<em>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Bugid:  &nbsp; &nbsp; &nbsp;</em><input class="span2"
				type="text" style="width: 100px;" tabindex="4" id="bugid">

				<div class="side-by-side clearfix" style="padding-top: 20px;">

					<em>Module: &nbsp;</em> <select id="module"
						data-placeholder="Select a Module..." class="chzn-select"
						style="width: 200px;" tabindex="2">

					</select> &nbsp;  <select id="category" data-placeholder="Select a category..."
						class="chzn-select" style="width: 200px;" tabindex="2">

					</select>&nbsp; <select id="subcategory"
						data-placeholder="Select a sub-category..." class="chzn-select"
						style="width: 200px;" tabindex="2">

					</select> <em>&nbsp;&nbsp; &nbsp; &nbsp; Version:&nbsp;</em> <select
						data-placeholder="Select version..." id="version"
						class="chzn-select" multiple style="width: 350px;" tabindex="4">
						<!-- 	<option value=""></option>
						<option value="9.0">9.0</option>
						<option value="9.0.47">9.0.47</option>
						<option value="9.0.48">9.0.48</option>
						<option value="9.0.open">9.0.open</option>
						<option value="9.0.130">9.0.130</option>  -->
					</select>


				</div> <br /> <br />
				<div style="width: 92%">
					<textarea id="issuedetails" rows="10" class="input-block-level"
						placeholder="Issue Details Here..."
						style="font-size: 14px; background-color: #f9f9f9;"></textarea>
				</div> <br /> <input type="submit" id="addissuebtnsave" value="save"
				name="btnsave" class="btn" /> &nbsp;&nbsp;&nbsp; <input
				type="submit" id="btncancel" value="cancel" name="btncancel"
				class="btn" />
		</div>







		<script src="chosen/chosen.jquery.js" type="text/javascript"></script>
		<script type="text/javascript">
			var config = {
				'.chzn-select' : {},
				'.chzn-select-deselect' : {
					allow_single_deselect : true
				},
				'.chzn-select-no-single' : {
					disable_search_threshold : 10
				},
				'.chzn-select-no-results' : {
					no_results_text : 'Oops, nothing found!'
				},
				'.chzn-select-width' : {
					width : "95%"
				}
			}
			for ( var selector in config) {
				$(selector).chosen(config[selector]);
			}
		</script>
</body>
</html>